* { color: rgb(220, 220, 220); }

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

p {
  margin-left: 1%;
  margin-right: 1%;
}

:root {
  background-color: rgb(30, 40, 50);
  color: white;
}

#header {
  display: flex;
  padding: 0.9em;
  background-color: rgb(20, 30, 40);
  align-items: center;
  justify-content: center;
}

#header a {
  color: rgb(220, 230, 240);
  font-size: 1.6em;
  font-family: Arial, Sans-Serif;
  text-decoration: none;
  transition-duration: 300ms;
}
#header a:hover { color: #fff; }

#header img {
  width: 1.9em;
  height: 1.9em;
  margin-right: 8px;
}

#root {
  margin: 6px;
  margin-left: 2%;
  margin-right: 2%;
}
#root h1 {
  font-size: 1.9rem;
  font-family: Helvetica;
  margin-bottom: 8px;
}
#root h2 {
  font-size: 1.5rem;
  font-family: Helvetica;
  margin-bottom: 12px;
}
#root h3 {
  font-size: 1.1rem;
  font-family: Helvetica;
  margin-bottom: 14px;
}
#root p {
  font-size: 1rem;
  font-weight: 400;
  font-family: Sans-Serif;
  margin-bottom: 16px;
}

#root a {
  color: rgb(245, 245, 245);
  text-decoration: none;
  transition-duration: 200ms;
}
#root a:hover { color: white; }

#root li {
  margin-bottom: 4px;
}

#space {
  flex-grow: 1;
}

#footer {
  width: 100%;
  background-color: rgb(15, 20, 25);
}

#footer-div {
  display: flex;
  justify-content: center;
  padding: 12px;
}

.icon {
  width: 1.6rem;
  height: 1.6rem;
  filter: invert(100%);
  margin: 4px;
  opacity: 85%;
  transition-duration: 200ms;
}

.icon:hover {
  opacity: 100%;
}

#posts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.container * {
  padding: 0;
  margin: 0;
}

.container {
  align-items: center;
  background-color: #141b22;
  border-radius: 0.7rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  min-height: 10rem;
  transition-duration: 300ms;
  padding: 0.2rem 0.6rem 0.2rem 0.6rem;
  justify-content: center;
}

.container:hover {
  background-color: #262f36;
}

.container img {
  flex: 1;
  min-width: 8rem;
  max-width: 15%;
  margin: 0.6rem;
}


.container div {
  flex: 1;
  align-items: center;
  min-width: 15rem;
}

.container div > h2 {
  color: white;
  text-align: center;
}

.container div > p {
  color: rgb(230, 230, 230);
  text-align: center;
}